<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-model</title>
</head>
<body>
<div id="app">
   <input typr="text" v-model="name">
    <br>

    <input type="checkbox" v-model="language" value="Java">Java<br>
    <input type="checkbox" v-model="language" value="PHP">PHP<br>
    <input type="checkbox" v-model="language" value="GO">GO<br>

    {{language}}
</div>

<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    var vm=new Vue({
        el:"#app",
        data:{
            name:"周合星",
            num:1,
            language:['Java']
        }
    })
</script>
</body>
</html>